package com.guigu.commons.security;

/**
 * @ClassName:TokenManager
 * @Description:
 * @Author:longtao
 * @Date:2021/6/28
 * @Version:1.0
 */
//@Component
public class TokenManager {

    //token有效时长
    private  long tokenEffectiveTime=1000*60*60*24;
    //token编码秘钥
    private String tokenSingKey="ukc8BDbRigUDaY6pZFfWus2jZWLPHO";
    //1.根据用户名生成token
/*    public String createToken(String userName,Long id){

    }*/

    //2.根据token得到用户信息
}
